.class public Lcom/example/usercenter/UserCenterActivity2;
.super Landroid/app/Activity;
.source "UserCenterActivity2.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/example/usercenter/UserCenterActivity2$mOncliclister;
    }
.end annotation


# instance fields
.field private appset:Landroid/widget/ImageView;

.field private balance:Landroid/widget/LinearLayout;

.field private bottomMenu:Lcom/example/location/BottomMenu;

.field private context:Landroid/content/Context;

.field private coupon:Landroid/widget/LinearLayout;

.field private h:Landroid/os/Handler;

.field private im_balance:Landroid/widget/ImageView;

.field private im_coupon:Landroid/widget/ImageView;

.field private im_integral:Landroid/widget/ImageView;

.field private imageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

.field private integral:Landroid/widget/LinearLayout;

.field private ll_aboutus:Landroid/widget/LinearLayout;

.field private ll_balance:Landroid/widget/LinearLayout;

.field private ll_collect:Landroid/widget/LinearLayout;

.field private ll_coupon:Landroid/widget/LinearLayout;

.field private ll_exchange_gift:Landroid/widget/LinearLayout;

.field private ll_intergral:Landroid/widget/LinearLayout;

.field private ll_myaddress:Landroid/widget/LinearLayout;

.field private ll_sendmoney:Landroid/widget/LinearLayout;

.field private ll_shopin:Landroid/widget/LinearLayout;

.field private m:Lmyapp/MyApp;

.field private tv_balance:Landroid/widget/TextView;

.field private tv_coupon:Landroid/widget/TextView;

.field private tv_intergral:Landroid/widget/TextView;

.field private user_icon:Landroid/widget/ImageView;

.field private username:Landroid/widget/TextView;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 45
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/example/usercenter/UserCenterActivity2;)Z
    .locals 1

    .prologue
    .line 388
    invoke-direct {p0}, Lcom/example/usercenter/UserCenterActivity2;->checkLogin()Z

    move-result v0

    return v0
.end method

.method static synthetic access$1(Lcom/example/usercenter/UserCenterActivity2;)V
    .locals 0

    .prologue
    .line 402
    invoke-direct {p0}, Lcom/example/usercenter/UserCenterActivity2;->gotoLogin()V

    return-void
.end method

.method static synthetic access$10(Lcom/example/usercenter/UserCenterActivity2;)Lmyapp/MyApp;
    .locals 1

    .prologue
    .line 48
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->m:Lmyapp/MyApp;

    return-object v0
.end method

.method static synthetic access$11(Lcom/example/usercenter/UserCenterActivity2;)Landroid/os/Handler;
    .locals 1

    .prologue
    .line 80
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->h:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$2(Lcom/example/usercenter/UserCenterActivity2;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 47
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->context:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$3(Lcom/example/usercenter/UserCenterActivity2;)V
    .locals 0

    .prologue
    .line 418
    invoke-direct {p0}, Lcom/example/usercenter/UserCenterActivity2;->getshop()V

    return-void
.end method

.method static synthetic access$4(Lcom/example/usercenter/UserCenterActivity2;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 56
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->tv_balance:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$5(Lcom/example/usercenter/UserCenterActivity2;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 61
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->tv_coupon:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$6(Lcom/example/usercenter/UserCenterActivity2;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 66
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->tv_intergral:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$7(Lcom/example/usercenter/UserCenterActivity2;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 53
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->username:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$8(Lcom/example/usercenter/UserCenterActivity2;)Lcom/nostra13/universalimageloader/core/ImageLoader;
    .locals 1

    .prologue
    .line 49
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->imageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    return-object v0
.end method

.method static synthetic access$9(Lcom/example/usercenter/UserCenterActivity2;)Landroid/widget/ImageView;
    .locals 1

    .prologue
    .line 52
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->user_icon:Landroid/widget/ImageView;

    return-object v0
.end method

.method private checkLogin()Z
    .locals 5

    .prologue
    const/4 v2, 0x0

    .line 390
    iget-object v3, p0, Lcom/example/usercenter/UserCenterActivity2;->context:Landroid/content/Context;

    const-string v4, "userInfo"

    invoke-virtual {v3, v4, v2}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v0

    .line 391
    .local v0, "sharedPreferences":Landroid/content/SharedPreferences;
    const-string v3, "uid"

    const-string v4, ""

    invoke-interface {v0, v3, v4}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 393
    .local v1, "uid":Ljava/lang/String;
    const-string v3, ""

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 396
    :goto_0
    return v2

    :cond_0
    const/4 v2, 0x1

    goto :goto_0
.end method

.method private getshop()V
    .locals 1

    .prologue
    .line 420
    new-instance v0, Lcom/example/usercenter/UserCenterActivity2$3;

    invoke-direct {v0, p0}, Lcom/example/usercenter/UserCenterActivity2$3;-><init>(Lcom/example/usercenter/UserCenterActivity2;)V

    .line 469
    invoke-virtual {v0}, Lcom/example/usercenter/UserCenterActivity2$3;->start()V

    .line 470
    return-void
.end method

.method private getuerinfo()V
    .locals 1

    .prologue
    .line 336
    new-instance v0, Lcom/example/usercenter/UserCenterActivity2$2;

    invoke-direct {v0, p0}, Lcom/example/usercenter/UserCenterActivity2$2;-><init>(Lcom/example/usercenter/UserCenterActivity2;)V

    .line 380
    invoke-virtual {v0}, Lcom/example/usercenter/UserCenterActivity2$2;->start()V

    .line 381
    return-void
.end method

.method private gotoLogin()V
    .locals 3

    .prologue
    .line 403
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/example/usercenter/UserCenterActivity2;->context:Landroid/content/Context;

    const-class v2, Lcom/example/m6wmr/LoginActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 404
    .local v0, "intent":Landroid/content/Intent;
    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->startActivity(Landroid/content/Intent;)V

    .line 406
    return-void
.end method

.method private initData()V
    .locals 1

    .prologue
    .line 409
    iput-object p0, p0, Lcom/example/usercenter/UserCenterActivity2;->context:Landroid/content/Context;

    .line 410
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->context:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lmyapp/MyApp;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->m:Lmyapp/MyApp;

    .line 411
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->m:Lmyapp/MyApp;

    invoke-virtual {v0}, Lmyapp/MyApp;->getInstance()Lcom/nostra13/universalimageloader/core/ImageLoader;

    move-result-object v0

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->imageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    .line 413
    return-void
.end method

.method private initView()V
    .locals 2

    .prologue
    .line 84
    const v0, 0x7f0c0152

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->appset:Landroid/widget/ImageView;

    .line 85
    const v0, 0x7f0c0337

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->user_icon:Landroid/widget/ImageView;

    .line 86
    const v0, 0x7f0c0338

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->username:Landroid/widget/TextView;

    .line 88
    const v0, 0x7f0c0157

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->ll_balance:Landroid/widget/LinearLayout;

    .line 89
    const v0, 0x7f0c00e9

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->tv_balance:Landroid/widget/TextView;

    .line 90
    const v0, 0x7f0c0339

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->im_balance:Landroid/widget/ImageView;

    .line 91
    const v0, 0x7f0c00e6

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->balance:Landroid/widget/LinearLayout;

    .line 93
    const v0, 0x7f0c015a

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->ll_coupon:Landroid/widget/LinearLayout;

    .line 94
    const v0, 0x7f0c033b

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->tv_coupon:Landroid/widget/TextView;

    .line 95
    const v0, 0x7f0c033c

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->im_coupon:Landroid/widget/ImageView;

    .line 96
    const v0, 0x7f0c033a

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->coupon:Landroid/widget/LinearLayout;

    .line 98
    const v0, 0x7f0c033d

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->ll_intergral:Landroid/widget/LinearLayout;

    .line 99
    const v0, 0x7f0c033f

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->tv_intergral:Landroid/widget/TextView;

    .line 100
    const v0, 0x7f0c0340

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->im_integral:Landroid/widget/ImageView;

    .line 101
    const v0, 0x7f0c033e

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->integral:Landroid/widget/LinearLayout;

    .line 103
    const v0, 0x7f0c0341

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->ll_myaddress:Landroid/widget/LinearLayout;

    .line 104
    const v0, 0x7f0c0342

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->ll_collect:Landroid/widget/LinearLayout;

    .line 105
    const v0, 0x7f0c00bf

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->ll_exchange_gift:Landroid/widget/LinearLayout;

    .line 106
    const v0, 0x7f0c0343

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->ll_sendmoney:Landroid/widget/LinearLayout;

    .line 107
    const v0, 0x7f0c0344

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->ll_aboutus:Landroid/widget/LinearLayout;

    .line 108
    const v0, 0x7f0c0345

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->ll_shopin:Landroid/widget/LinearLayout;

    .line 111
    const v0, 0x7f0c0346

    invoke-virtual {p0, v0}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/example/location/BottomMenu;

    iput-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->bottomMenu:Lcom/example/location/BottomMenu;

    .line 112
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->bottomMenu:Lcom/example/location/BottomMenu;

    const-string v1, "person"

    invoke-virtual {v0, v1}, Lcom/example/location/BottomMenu;->SetOn(Ljava/lang/String;)V

    .line 114
    return-void
.end method

.method private setoncliclistner()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 213
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->appset:Landroid/widget/ImageView;

    new-instance v1, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;

    invoke-direct {v1, p0, v2}, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;-><init>(Lcom/example/usercenter/UserCenterActivity2;Lcom/example/usercenter/UserCenterActivity2$mOncliclister;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 214
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->user_icon:Landroid/widget/ImageView;

    new-instance v1, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;

    invoke-direct {v1, p0, v2}, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;-><init>(Lcom/example/usercenter/UserCenterActivity2;Lcom/example/usercenter/UserCenterActivity2$mOncliclister;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 215
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->username:Landroid/widget/TextView;

    new-instance v1, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;

    invoke-direct {v1, p0, v2}, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;-><init>(Lcom/example/usercenter/UserCenterActivity2;Lcom/example/usercenter/UserCenterActivity2$mOncliclister;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 216
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->ll_balance:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;

    invoke-direct {v1, p0, v2}, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;-><init>(Lcom/example/usercenter/UserCenterActivity2;Lcom/example/usercenter/UserCenterActivity2$mOncliclister;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 217
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->ll_coupon:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;

    invoke-direct {v1, p0, v2}, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;-><init>(Lcom/example/usercenter/UserCenterActivity2;Lcom/example/usercenter/UserCenterActivity2$mOncliclister;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 218
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->ll_intergral:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;

    invoke-direct {v1, p0, v2}, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;-><init>(Lcom/example/usercenter/UserCenterActivity2;Lcom/example/usercenter/UserCenterActivity2$mOncliclister;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 219
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->ll_myaddress:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;

    invoke-direct {v1, p0, v2}, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;-><init>(Lcom/example/usercenter/UserCenterActivity2;Lcom/example/usercenter/UserCenterActivity2$mOncliclister;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 220
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->ll_collect:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;

    invoke-direct {v1, p0, v2}, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;-><init>(Lcom/example/usercenter/UserCenterActivity2;Lcom/example/usercenter/UserCenterActivity2$mOncliclister;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 221
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->ll_exchange_gift:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;

    invoke-direct {v1, p0, v2}, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;-><init>(Lcom/example/usercenter/UserCenterActivity2;Lcom/example/usercenter/UserCenterActivity2$mOncliclister;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 222
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->ll_sendmoney:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;

    invoke-direct {v1, p0, v2}, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;-><init>(Lcom/example/usercenter/UserCenterActivity2;Lcom/example/usercenter/UserCenterActivity2$mOncliclister;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 223
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->ll_aboutus:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;

    invoke-direct {v1, p0, v2}, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;-><init>(Lcom/example/usercenter/UserCenterActivity2;Lcom/example/usercenter/UserCenterActivity2$mOncliclister;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 224
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->ll_shopin:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;

    invoke-direct {v1, p0, v2}, Lcom/example/usercenter/UserCenterActivity2$mOncliclister;-><init>(Lcom/example/usercenter/UserCenterActivity2;Lcom/example/usercenter/UserCenterActivity2$mOncliclister;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 226
    return-void
.end method


# virtual methods
.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 2
    .param p1, "requestCode"    # I
    .param p2, "resultCode"    # I
    .param p3, "data"    # Landroid/content/Intent;

    .prologue
    .line 507
    invoke-super {p0, p1, p2, p3}, Landroid/app/Activity;->onActivityResult(IILandroid/content/Intent;)V

    .line 509
    const/16 v0, 0x64

    if-ne p2, v0, :cond_0

    .line 511
    const-string v0, "\u767b\u5f55\u6210\u529f------"

    const-string v1, "success"

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 515
    :cond_0
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 11
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    const/16 v10, 0x8

    const/4 v9, 0x0

    .line 119
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 120
    const v7, 0x7f0300ae

    invoke-virtual {p0, v7}, Lcom/example/usercenter/UserCenterActivity2;->setContentView(I)V

    .line 121
    invoke-direct {p0}, Lcom/example/usercenter/UserCenterActivity2;->initData()V

    .line 122
    invoke-direct {p0}, Lcom/example/usercenter/UserCenterActivity2;->initView()V

    .line 124
    const/high16 v7, 0x7f0c0000

    invoke-virtual {p0, v7}, Lcom/example/usercenter/UserCenterActivity2;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/RelativeLayout;

    .line 125
    .local v6, "top":Landroid/widget/RelativeLayout;
    iget-object v7, p0, Lcom/example/usercenter/UserCenterActivity2;->m:Lmyapp/MyApp;

    invoke-virtual {v7}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v7

    const-string v8, "1"

    invoke-virtual {v7, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_0

    .line 126
    const v7, 0x7f070026

    invoke-virtual {v6, v7}, Landroid/widget/RelativeLayout;->setBackgroundResource(I)V

    .line 129
    :cond_0
    new-instance v7, Lcom/example/usercenter/UserCenterActivity2$1;

    invoke-direct {v7, p0}, Lcom/example/usercenter/UserCenterActivity2$1;-><init>(Lcom/example/usercenter/UserCenterActivity2;)V

    iput-object v7, p0, Lcom/example/usercenter/UserCenterActivity2;->h:Landroid/os/Handler;

    .line 184
    invoke-direct {p0}, Lcom/example/usercenter/UserCenterActivity2;->checkLogin()Z

    move-result v7

    if-eqz v7, :cond_1

    .line 185
    iget-object v7, p0, Lcom/example/usercenter/UserCenterActivity2;->integral:Landroid/widget/LinearLayout;

    invoke-virtual {v7, v9}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 186
    iget-object v7, p0, Lcom/example/usercenter/UserCenterActivity2;->balance:Landroid/widget/LinearLayout;

    invoke-virtual {v7, v9}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 187
    iget-object v7, p0, Lcom/example/usercenter/UserCenterActivity2;->coupon:Landroid/widget/LinearLayout;

    invoke-virtual {v7, v9}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 189
    iget-object v7, p0, Lcom/example/usercenter/UserCenterActivity2;->im_balance:Landroid/widget/ImageView;

    invoke-virtual {v7, v10}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 190
    iget-object v7, p0, Lcom/example/usercenter/UserCenterActivity2;->im_coupon:Landroid/widget/ImageView;

    invoke-virtual {v7, v10}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 191
    iget-object v7, p0, Lcom/example/usercenter/UserCenterActivity2;->im_integral:Landroid/widget/ImageView;

    invoke-virtual {v7, v10}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 193
    iget-object v7, p0, Lcom/example/usercenter/UserCenterActivity2;->context:Landroid/content/Context;

    const-string v8, "userInfo"

    invoke-virtual {v7, v8, v9}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v5

    .line 194
    .local v5, "sharedPreferences":Landroid/content/SharedPreferences;
    const-string v7, "logo"

    const-string v8, ""

    invoke-interface {v5, v7, v8}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 195
    .local v2, "logo":Ljava/lang/String;
    const-string v7, "score"

    const-string v8, "0"

    invoke-interface {v5, v7, v8}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    .line 196
    .local v4, "score":Ljava/lang/String;
    const-string v7, "cost"

    const-string v8, "0"

    invoke-interface {v5, v7, v8}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 197
    .local v0, "cost":Ljava/lang/String;
    const-string v7, "juancount"

    const-string v8, "0"

    invoke-interface {v5, v7, v8}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 198
    .local v1, "coupon":Ljava/lang/String;
    const-string v7, "username"

    const-string v8, ""

    invoke-interface {v5, v7, v8}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    .line 200
    .local v3, "name":Ljava/lang/String;
    iget-object v7, p0, Lcom/example/usercenter/UserCenterActivity2;->tv_balance:Landroid/widget/TextView;

    invoke-virtual {v7, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 201
    iget-object v7, p0, Lcom/example/usercenter/UserCenterActivity2;->tv_coupon:Landroid/widget/TextView;

    invoke-virtual {v7, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 202
    iget-object v7, p0, Lcom/example/usercenter/UserCenterActivity2;->tv_intergral:Landroid/widget/TextView;

    invoke-virtual {v7, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 203
    iget-object v7, p0, Lcom/example/usercenter/UserCenterActivity2;->username:Landroid/widget/TextView;

    invoke-virtual {v7, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 205
    iget-object v7, p0, Lcom/example/usercenter/UserCenterActivity2;->imageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    iget-object v8, p0, Lcom/example/usercenter/UserCenterActivity2;->user_icon:Landroid/widget/ImageView;

    invoke-static {}, Lmyapp/MyApp;->getDefaultOptions()Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    move-result-object v9

    invoke-virtual {v7, v2, v8, v9}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/DisplayImageOptions;)V

    .line 208
    .end local v0    # "cost":Ljava/lang/String;
    .end local v1    # "coupon":Ljava/lang/String;
    .end local v2    # "logo":Ljava/lang/String;
    .end local v3    # "name":Ljava/lang/String;
    .end local v4    # "score":Ljava/lang/String;
    .end local v5    # "sharedPreferences":Landroid/content/SharedPreferences;
    :cond_1
    invoke-direct {p0}, Lcom/example/usercenter/UserCenterActivity2;->setoncliclistner()V

    .line 210
    return-void
.end method

.method protected onStart()V
    .locals 3

    .prologue
    const/16 v2, 0x8

    const/4 v1, 0x0

    .line 475
    invoke-direct {p0}, Lcom/example/usercenter/UserCenterActivity2;->checkLogin()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 476
    invoke-direct {p0}, Lcom/example/usercenter/UserCenterActivity2;->getuerinfo()V

    .line 477
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->integral:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 478
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->balance:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 479
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->coupon:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 481
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->im_balance:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 482
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->im_coupon:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 483
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->im_integral:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 497
    :goto_0
    invoke-super {p0}, Landroid/app/Activity;->onStart()V

    .line 500
    return-void

    .line 486
    :cond_0
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->integral:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 487
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->balance:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 488
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->coupon:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 490
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->im_balance:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 491
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->im_coupon:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 492
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->im_integral:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 493
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->username:Landroid/widget/TextView;

    const-string v1, "\u7acb\u5373\u767b\u5f55"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 494
    iget-object v0, p0, Lcom/example/usercenter/UserCenterActivity2;->user_icon:Landroid/widget/ImageView;

    const v1, 0x7f0200db

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_0
.end method
